WooCommerce\PayPalCommerce\ApiClient\Factory\AmountFactory S

Total Complexity 18
Dependencies 13
Dependents 3
Total lines 242
Lines of code 152
Logical lines of code 52
Comment lines 70
Methods 6
Properties 3

Methods 6

Method Rating Maintainability Complexity Lines of code
from_wc_order()
A
44 6 53
break_down()
S
48 6 37
from_wc_cart()
S
50 2 34
discounts_from_items()
S
59 1 18
from_paypal_response()
S
71 2 5
__construct()
S
74 1 5